package cn.mxp.a02_factory.easy;

import org.junit.Test;

public class FactoryTest {
    @Test
    public void test01() {
        Car xiaomi = Factory01.getCar("Xiaomi");
        Car tesla = Factory01.getCar("Tesla");
        System.out.println(xiaomi);
        System.out.println(tesla);
    }
}
